function Parent(name) {
  this.parentName = name;
}

function Child(name) {
  Parent.call(this, name);
  this.name = name;
}

Child.prototype.__proto__ = new Parent();


let child = new Child('蜡笔小新');
console.log(child)
